import abc
class posInterface(metaclass=abc.ABCMeta):  
    @abc.abstractclassmethod
    def setonfund(self,oncall):  
        pass
    @abc.abstractclassmethod
    def setonposition(self,oncall):  
        pass
    @abc.abstractclassmethod
    def setonorder(self,oncall):  
        pass
    @abc.abstractclassmethod
    def setonerror(self,oncall):  
        pass
    @abc.abstractclassmethod
    def login(self,oncall):  
        pass
    @abc.abstractclassmethod
    def logout(self,oncall):  
        pass
    @abc.abstractclassmethod
    def submitorder(self,oncall):  
        pass
    @abc.abstractclassmethod
    def cancelorder(self,oncall):  
        pass
    @abc.abstractclassmethod
    def setonordererror(self,oncall):  
        pass